package mr.stocks.support;

import org.apache.commons.lang.builder.ToStringBuilder;

public class StockAverage{

    private String name;
    private String year;
    private float average;
    
    public StockAverage(String name, String year, float average) {
        this.name = name;
        this.year = year;
        this.average = average;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getYear() {
        return year;
    }
    public void setYear(String year) {
        this.year = year;
    }
    public float getAverage() {
        return average;
    }
    public void setAverage(float average) {
        this.average = average;
    }
    
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
